

		<?php
		if(!empty($users))
		{?>
			<div class="user_actions">&nbsp;&nbsp;
				<span> <strong><?php echo __("Sort By")?> :</strong>
				</span>
				<span>
					<?php echo $paginator->sort(__('New Users'),'created',array('url'=>array('direction'=>'desc')));?> |
				</span> 
				<span>
					<?php echo $paginator->sort(__('Top Reviewers'),'review_count',array('url'=>array('direction'=>'desc')));?>
				</span> 
				
			</div>
			<br/>
			<?php 
			foreach($users as $user)
			{?>
			
					<div class="box_in ranks">
					<?php echo $html->link($html->image($user['User']['avatar'],array('thumb'=>array('crop'=>true,'width'=>60,'height'=>60))),$user['User']['profile_url'],array('escape'=>false))?>
					<div class="user_name">
						<?php echo $html->link($user['User']['display_name'],$user['User']['profile_url'])?><br />
					</div>	
				</div>
			
			<?php  
			}?>
				<div class='paginate'>
<?php echo $paginator->prev(__('Prev'));?>
<?php echo $paginator->numbers(array('separator'=>' '));?>
<?php echo $paginator->next(__('Next'));?>
</div>
<div class="clear"></div>
		<?php 
		}else
		{
			echo "<h4 class='no_results'>".__('There is no user present.')."</h4>";
		}
		?>
